<?php

namespace app\model\system;

use crmeb\basic\BaseModel;
use crmeb\traits\ModelTrait;

/**
 * app应用模块
 */
class Application extends BaseModel
{
    use  ModelTrait;

    /**
     * 数据表主键
     * @var string
     */
    protected $pk = 'id';

    /**
     * 模型名称
     * @var string
     */
    protected $name = 'application';

    protected $insert = ['add_time'];


    public function getImageAttr($value)
    {
        return json_decode($value);
    }
}